home *** CD-ROM | disk | FTP | other *** search
/ Fritz: All Fritz / All Fritz.zip / All Fritz / FILES / BUSITION / SMARKET1.LZH / INSTALL.BAT next >
DOS Batch File  |  1992-04-02  |  8KB  |  198 lines

  1. ECHO OFF
  2. CLS
  3. ECHO         $hareware Marketing $ystem Installation program 
  4. ECHO   ---------------------------------------------------------------
  5. ECHO   There are two methods for installing this program. 1) Copy the 
  6. echo   self-extracting file SMSDATA.EXE to your hard drive and unpack 
  7. echo   it using the command SMSDATA 2) Or use this menu driven 
  8. echo   installation program INSTALL.BAT which is started using the 
  9. echo   command INSTALL. After installation start the program with the 
  10. echo   command SMS. 
  11. ECHO   ---------------------------------------------------------------
  12. pause
  13. cls
  14. echo   Installation diskette MUST now be in A: floppy drive.
  15. echo   Installation does NOT adjust CONFIG.SYS or AUTOEXEC.BAT.
  16. echo   ---------------------------------------------------------------
  17. echo   Part A/disk A contains the menu driven "newsletter" part of 
  18. echo   the package. It is installed first and will fit ONLY on a hard
  19. echo   drive. A special floppy version is available to registered
  20. echo   users who do not have a hard drive, contact the author.
  21. ECHO   ---------------------------------------------------------------
  22. echo   Part B/disk B contains a LARGE compressed mailing list and is  
  23. echo   copied to a hard drive and unpacked later. The mailing list is 
  24. echo   discussed in a tutorial within Part A.
  25. ECHO   ---------------------------------------------------------------
  26. ECHO   Press  A  if installing Part A of package to a hard drive
  27. ECHO   Press  Q  to quit or abort process
  28. ECHO   ---------------------------------------------------------------
  29. smskey A66,a66,Q81,q81
  30. IF ERRORLEVEL 81 GOTO abort
  31. IF ERRORLEVEL 66 GOTO LABELB
  32. :LABELB
  33. CLS
  34. REM  Hard Drive setup
  35. ECHO ---------------------------------------------------------------
  36. ECHO Hard drive installation will prepare a directory named \SMS on 
  37. echo your hard drive and install files to that area. Installation 
  38. echo program assumes drive A: contains SMS part A and is the SOURCE 
  39. echo DRIVE. Hard drive will be the TARGET drive to which files will 
  40. echo be unpacked. If you have an old copy of SMS data on your hard 
  41. echo drive which is important to you, you may wish to quit/abort
  42. echo and backup that older copy of SMS for archival purposes first.
  43. ECHO ---------------------------------------------------------------
  44. echo What hard drive letter will you install TO as your target?
  45. ECHO ---------------------------------------------------------------
  46. echo press  C  for  Hard drive C:
  47. echo press  D  for  Hard drive D:
  48. echo press  E  for  Hard drive E:
  49. echo press  F  for  Hard drive F:
  50. echo press  G  for  Hard drive G:
  51. echo press  Q  to quit
  52. smskey Q81,q81,G71,g71,F70,f70,E69,e69,D68,d68,C67,c67
  53. IF ERRORLEVEL 81 GOTO abort
  54. IF ERRORLEVEL 71 goto HDG
  55. IF ERRORLEVEL 70 GOTO HDF
  56. IF ERRORLEVEL 69 GOTO HDE
  57. IF ERRORLEVEL 68 GOTO HDD
  58. IF ERRORLEVEL 67 GOTO HDC
  59. :HDC
  60. cls
  61. C:
  62. CD\
  63. MD SMS
  64. ECHO If a previous version of the SMS package is already
  65. ECHO installed, answer yes to all prompts to overwrite old files 
  66. ECHO with the newer SMS data files.
  67. A:
  68. SMSDATA C:\sms\
  69. CLS
  70. ECHO Installation of part A is now complete. Part B contains 
  71. echo DATABASE.EXE which is 1.5 meg in size. Study the tutorial
  72. echo about using this mailing list database BEFORE you use it 
  73. echo This tutorial is contained in newly unpacked part A. 
  74. echo ------------------------------------------------------------
  75. echo Press  Q  to quit. Installation complete.
  76. echo To run SMS: change to your hard drive subdirectory C:\SMS 
  77. echo then type   SMS      to start
  78. echo ----------------------------------------------------------
  79. smskey q81,Q81
  80. if errorlevel 81 goto quit
  81. GOTO QUIT
  82. :HDD
  83. cls
  84. D:
  85. CD\
  86. MD SMS
  87. ECHO If a previous version of the SMS package is already
  88. ECHO installed, answer yes to all prompts to overwrite old files 
  89. ECHO with the newer SMS data files.
  90. A:
  91. smsdata D:\sms\
  92. CLS
  93. ECHO Installation of part A is now complete. Part B contains 
  94. echo DATABASE.EXE which is 1.5 meg in size. Study the tutorial
  95. echo about using this mailing list database BEFORE you use it 
  96. echo This tutorial is contained in newly unpacked part A. 
  97. echo ------------------------------------------------------------
  98. echo Press  Q  to quit. Installation complete.
  99. echo To run SMS: change to your hard drive subdirectory D:\SMS 
  100. echo then type   SMS      to start
  101. echo ----------------------------------------------------------
  102. smskey q81,Q81
  103. if errorlevel 81 goto quit
  104. GOTO QUIT
  105. :HDE
  106. cls
  107. E:
  108. CD\
  109. MD SMS
  110. ECHO If a previous version of the SMS package is already
  111. ECHO installed, answer yes to all prompts to overwrite old files 
  112. ECHO with the newer SMS data files.
  113. A:
  114. smsdata E:\sms\
  115. CLS
  116. ECHO Installation of part A is now complete. Part B contains 
  117. echo DATABASE.EXE which is 1.5 meg in size. Study the tutorial
  118. echo about using this mailing list database BEFORE you use it 
  119. echo This tutorial is contained in newly unpacked part A. 
  120. echo ------------------------------------------------------------
  121. echo Press  Q  to quit. Installation complete.
  122. echo To run SMS: change to your hard drive subdirectory E:\SMS 
  123. echo then type   SMS      to start
  124. echo ----------------------------------------------------------
  125. smskey q81,Q81
  126. if errorlevel 81 goto quit
  127. GOTO QUIT
  128. :HDF
  129. cls
  130. F:
  131. CD\
  132. MD SMS
  133. ECHO If a previous version of the SMS package is already
  134. ECHO installed, answer yes to all prompts to overwrite old files 
  135. ECHO with the newer SMS data files.
  136. A:
  137. smsdata F:\sms\
  138. CLS
  139. ECHO Installation of part A is now complete. Part B contains 
  140. echo DATABASE.EXE which is 1.5 meg in size. Study the tutorial
  141. echo about using this mailing list database BEFORE you use it 
  142. echo This tutorial is contained in newly unpacked part A. 
  143. echo ------------------------------------------------------------
  144. echo Press  Q  to quit. Installation complete.
  145. echo To run SMS: change to your hard drive subdirectory F:\SMS 
  146. echo then type   SMS      to start
  147. echo ----------------------------------------------------------
  148. smskey q81,Q81
  149. if errorlevel 81 goto quit
  150. GOTO QUIT
  151. :HDG
  152. cls
  153. G:
  154. CD\
  155. MD SMS
  156. ECHO If a previous version of the SMS package is already
  157. ECHO installed, answer yes to all prompts to overwrite old files 
  158. ECHO with the newer SMS data files.
  159. A:
  160. smsdata G:\sms\
  161. CLS
  162. ECHO Installation of part A is now complete. Part B contains 
  163. echo DATABASE.EXE which is 1.5 meg in size. Study the tutorial
  164. echo about using this mailing list database BEFORE you use it 
  165. echo This tutorial is contained in newly unpacked part A. 
  166. echo ------------------------------------------------------------
  167. echo Press  Q  to quit. Installation complete.
  168. echo To run SMS: change to your hard drive subdirectory G:\SMS 
  169. echo then type   SMS      to start
  170. echo ----------------------------------------------------------
  171. smskey q81,Q81
  172. if errorlevel 81 goto quit
  173. GOTO QUIT
  174. :QUIT
  175. CLS
  176. ECHO                Installation of program complete.
  177. ECHO   Be sure to register or subscribe - support the shareware concept.
  178. ECHO    See the file REGISTER.TXT within the main program for details.
  179. pause
  180. GOTO END
  181. :ABORT
  182. cls
  183. ECHO  Installation process aborted
  184. pause
  185. :END
  186. cls
  187. echo                 THE $HAREWARE MARKETING $YSTEM 
  188. echo    Jim Hood, Seattle Scientific Photography (206) 236-0470. 
  189. echo          PO Box 1506, Mercer Island, Washington 98040   
  190. echo  -------------------------------------------------------------
  191. echo   This software is shareware. Shareware means try before you 
  192. echo   buy. Shareware is an HONOR SYSTEM. Unless you have paid a 
  193. echo   registration fee to the program author and have received a 
  194. echo   registration number, you are EVALUATING the software subject to 
  195. echo   final registration. For those who have registered, thank you for 
  196. echo   your support: store your registration number in a secure 
  197. echo   location. SMS is published four times per year. Consider a 
  198. echo   subscription for the latest current update!